package com.ssy.lingxi.member.merchant.model.bo;

import java.util.List;

/**
 * 会员组织架构，树形菜单
 * @author wyx
 * @version 2.0.0
 * @date 2022-03-23
 **/
public class MemberOrgTreeBO {

    public MemberOrgTreeBO() {
    }

    public MemberOrgTreeBO(Long id, Long parentId, Long storeId) {
        this.id = id;
        this.parentId = parentId;
        this.storeId = storeId;
    }

    /**
     * 组织机构的id
     */
    private Long id;

    /**
     * 父节点Id
     */
    private Long parentId;

    /**
     * 门店ID
     */
    private Long storeId;

    /**
     * 子节点
     */
    private List<MemberOrgTreeBO> child;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public List<MemberOrgTreeBO> getChild() {
        return child;
    }

    public void setChild(List<MemberOrgTreeBO> child) {
        this.child = child;
    }
}
